package com.scalar.forecast.forecastSetup.actionCommands;

import com.scalar.forecast.actionCommands.ActionCommand;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * User: Sujan Kumar
 * Date: Feb 10, 2005
 * Time: 2:38:40 PM
 */
public class ForecastSetupSaveCommand extends ActionCommand
{
    public ActionForward execute ( ActionMapping mapping,
                                            ActionForm form,
                                            HttpServletRequest request,
                                            HttpServletResponse response )
    {
       
       request.setAttribute ( "showEditConfirmButton", "true" );
       ActionForward actionForward = mapping.findForward ( "forecastSetupConfirm" );
       return actionForward;
    }
}
